<nav class="cate-tab" id="cat-tab">
    <ul class="cate-tab-list">
    <li class="cate-tab-item active">全部</li>
    <!--:for(c in session.cates!){  -->
    	<li data-id="${c.id!}" class="cate-tab-item ">
            ${c.name}
        </li>
    <!--:}elsefor {-->
    <!--:for(c1 in cache.cates!){  -->
        <li data-id="${c1.id!}" class="cate-tab-item ">
            ${c1.name}
        </li>
    <!--:}}  -->
    <a href="javascript:void(0);" class="cate-tab-edit btn-outline js-open-interest">修改兴趣</a>
    </ul>
</nav>
<script>
$(function(){
	$(".js-open-interest").click(function(){
		$("#js-intrest-select").css("display","block")
	})
	$('body').on('click','.cate-tab-item',function(){
		location.href='${root}course/?cid='+$(this).attr("data-id")
	})
})
</script>